﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_LOCATIONINFORMATION.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_LOCATIONINFORMATION数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_LOCATIONINFORMATION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_LOCATIONINFORMATION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_LOCATIONINFORMATION_Entity
	{
		#region 变量定义		
		///<summary>
		///编号
		///</summary>
		private long _aUTOID;
		///<summary>
		///地区代码
		///</summary>
		private string _cODE = String.Empty;
		///<summary>
		///地区名称
		///</summary>
		private string _nAME = String.Empty;
		///<summary>
		///上级区域代码
		///</summary>
		private string _pARENTCODE = String.Empty;
		///<summary>
		///状态
		///</summary>
		private long? _sTATUS = 0;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_LOCATIONINFORMATION_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_LOCATIONINFORMATION")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///地区代码
		///</summary>		
		public string CODE
		{
			get {return _cODE;}
			set {
					_cODE = value;
				}
			
		}

		///<summary>
		///地区名称
		///</summary>		
		public string NAME
		{
			get {return _nAME;}
			set {
					_nAME = value;
				}
			
		}

		///<summary>
		///上级区域代码
		///</summary>		
		public string PARENTCODE
		{
			get {return _pARENTCODE;}
			set {
					_pARENTCODE = value;
				}
			
		}

		///<summary>
		///状态
		///</summary>		
		public long? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}
		
		
		#endregion
		
	}
}
